package com.spring.schedule_system.dengxiaojiao.repositories;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.spring.schedule_system.dengxiaojiao.request.DeliverySetDomainIn;
import com.spring.schedule_system.dengxiaojiao.request.DeliverySetDomainOut;
import com.spring.schedule_system.dengxiaojiao.request.DeliverySetSaveDomainIn;
import com.spring.schedule_system.dengxiaojiao.request.VenDbDeliverySet;
import com.spring.schedule_system.dengxiaojiao.util.ListResult;
import com.spring.schedule_system.dengxiaojiao.util.OptResult;

import java.util.List;

/***********************************************************************************************************************
* <p>
    * 预交车天数设置 细分biz与数据库交互接口
    * </p>
* @author        ly-dengxiaojiao
* @date          2023-03-26
* @version       V1.0
**********************************************************************************************************************/
public interface VenDbDeliverySetRepositories {

    public OptResult venDbCarDeliveryDaySetSave(DeliverySetSaveDomainIn deliverySetSaveDomainIn);

    public ListResult<DeliverySetDomainOut> venDbCarDeliveryDaySetQuery(DeliverySetDomainIn deliverySetDomainIn);

    public OptResult venDbCarDeliveryDaySetQueryCount(DeliverySetDomainIn deliverySetDomainIn);

    int venDbDeliverySetMapperAddVenDbCarDeliveryDaySetSave(List<VenDbDeliverySet> venDbDeliverySets);

    List<VenDbDeliverySet> venDbDeliverySetMapperSaveOrUpdateCar(List<VenDbDeliverySet> saveDatas);

    List<DeliverySetDomainOut> venDbDeliverySetMapperVenDbCarDeliveryDaySetQuery(Object o, DeliverySetDomainIn deliverySetDomainIn);

    List<VenDbDeliverySet> venDbDeliverySetMapperSelectList(QueryWrapper<VenDbDeliverySet> deliverySetEntityQueryWrapper);

    int venDbDeliverySetMapperDeleteDeliverSetBatch(List<String> carCroutSetIds);
}
